package com.example.expresscabinet.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.expresscabinet.common.Result;
import com.example.expresscabinet.model.user;

import java.util.List;


public interface IUserService extends IService<user> {
    public Result<?> existUser(user user);
    public Result<?> addUser(user user);

    //管理员查询快递员任务列表
    public int[] queryList();
    public Page<user> queryExpressman(int pageNum,int pageSize);

    public Result<?> deleteExpressman(String tel);
    public String queryFixExpressman(String company);
}
